import request from '@/utils/request';

// 查询车位管理详细
export function getParkdingSeatDel(id) {
    return request({
        url: '/parkingSeat/' + id,
        method: 'get',
    });
}

// 查询车位管理列表
export function getParkdingSeatList(query) {
    return request({
        url: '/parkingSeat/page/',
        method: 'get',
        params: query,
    });
}

// 新增车位管理
export function addParkingSeat(data) {
    return request({
        url: '/parkingSeat/save',
        method: 'post',
        data: data,
    });
}

// 修改停车场管理
export function updateParkingSeat(data) {
    return request({
        url: '/parkingSeat/edit',
        method: 'post',
        data: data,
    });
}

// 删除停车场管理
export function delParkingSeat(id) {
    return request({
        url: '/parkingSeat/delete/' + id,
        method: 'post',
    });
}
